package com.jxcq.tensquare.user.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 实体类
 * @author CalvinXCui
 *
 */
@Entity
@Table(name="tb_admin")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Admin implements Serializable{

	@Id
	private String id;//ID

	private String loginname;//登陆名称

	private String password;//密码

	private String state;//状态

}
